package org.web.ssm.service;

import org.web.ssm.model.User;
import org.web.ssm.model.queryVo.BaseQuery;

import java.util.List;

/**
 * Created by LUOLIANG on 2016/5/8.
 */
public interface IUserService {
    User getUserById(String userId);

    User getUserByUsername(String username, String password);

    void updateUser(User user);

    void insertUser(User user);

    void deleteUser(String id);

    List<User> getAll();

    BaseQuery<User> getUserList(int pageSize, int pageCurrent);

    User getUserByOpenid(String openid);
}
